package com.hubiao.pro.controller;

import com.hubiao.pro.service.RabbitMqService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Description
 *
 * @author hubiao
 * @since 2021-01-30 22:29
 */
@RestController
@RequestMapping
public class RabbitMqController {

    @Resource
    private RabbitMqService rabbitMqService;

    @GetMapping("/send")
    public void sendUserAll() {
        rabbitMqService.sendUserAll();
    }
}
